home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / doc / wpasupplicant / examples / wpa-roam.conf < prev    next >
Encoding:
Text File  |  2009-04-08  |  3.4 KB  |  86 lines

  1. ######################## Debian wpa-roam Template #############################
  2. #
  3. # Template configuration for wpa-roam mode of Debian's wpasupplicant package.
  4. # wpa-roam mode is described in detail in the wpa_action(8) manpage, and also
  5. # at /usr/share/doc/wpasupplicant/README.modes.gz. Please read these documents
  6. # to get an overview of how to setup this mode.
  7. #
  8. # For a detailed set of configuration examples for different networks, refer to
  9. # /usr/share/doc/wpasupplicant/README.wpa_supplicant.conf.gz
  10. #
  11. # Also see the other files in /usr/share/doc/wpasupplicant/examples/ for
  12. # specific network configuration examples.
  13. #
  14. # Empty lines and lines starting with # are ignored
  15. #
  16. # NOTE! This file may contain password information and should be made readable
  17. # only by root user or netdev group on multiuser systems.
  18. #
  19. ######################## Global Configuration Options #########################
  20. #
  21. # The update_config option can be used to allow wpa_supplicant to overwrite
  22. # configuration file whenever configuration is changed (e.g., new network block
  23. # is added with wpa_cli or wpa_gui, or a password is changed). This is required
  24. # for wpa_cli/wpa_gui to be able to store the configuration changes
  25. # permanently.
  26. #
  27. # NOTE! Any comments will be removed from the configuration file when the
  28. # update_config option is used.
  29. #
  30. #update_config=1
  31.  
  32. # The ctrl_interface specifies the path to a unix socket through which the
  33. # supplicant may be controlled and interacted with.
  34. #
  35. # DIR=   Path to UNIX socket control interface, mandatory for wpa-roam mode
  36. # GROUP= Users in this group to control wpa_supplicant via wpa_cli/wpa_gui
  37. #
  38. ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
  39. #
  40. ######################## Network Block Configurations #########################
  41. #
  42. # Each network is configured as a separate block in this configuration file.
  43. # The network blocks are listed in preference of order, the top most network
  44. # to be found in scan results is used.
  45. #
  46. # By default, all networks will get same priority (0). If some of the networks
  47. # are more desirable, the "priority=" network parameter can be used to change
  48. # the order in which wpa_supplicant goes through the network blocks when
  49. # selecting what network will be used. The priority groups will be iterated
  50. # in decreasing priority, the network with the highest priority value will be
  51. # considered for selection first and the network with the lowest priority value
  52. # will be considered last.
  53. #
  54. # NOTE! The scan_ssid=1 and ap_scan=2 modes ignore the priority field. Instead,
  55. # the networks will be considered in the order specified in this configuration
  56. # file.
  57. #
  58. # The "id_str=" network identifier string parameter is given to wpa_action when
  59. # a network has been selected, and contains this field in its configuration
  60. # block. The given id_str string will be used to select a logical interfaces
  61. # from ifupdown's /etc/network/interfaces file.
  62. #
  63. ###############################################################################
  64.  
  65. #network={
  66. #    ssid="Example WEP Network"
  67. #    key_mgmt=NONE
  68. #    wep_key0=6162636465
  69. #    wep_tx_keyidx=0
  70. #    id_str="johns_house"
  71. #}
  72.  
  73. #network={
  74. #    ssid="Example WPA Network"
  75. #    psk="mysecretpassphrase"
  76. #    id_str="home"
  77. #}
  78.  
  79. ###############################################################################
  80. # Default behaviour is to associate with any open access point, further
  81. # networks can be configured with wpa_cli/wpa_gui.
  82. #
  83. network={
  84.     key_mgmt=NONE
  85. }
  86.